@import '@/styles/common/variables.scss';
// 产品列表手机端
.main .minwidth.productList .phoneShow{
  display: block;
  border-bottom: 1px solid #f2f1f0 ;
  >div.header{
    padding: 0 20px;
    background-color: #ffffff;
    height: 44px;
    .commentSelect .el-select .el-input {
      .el-input__suffix{
        right: 0;
      }
      .el-input__inner{
        background-color: #ffffff;
      }
    }
    .icon-Filter{
      width: 24px;
      height: 24px;
      cursor: pointer;
    }
  }
  >p{
    color: #373737;
    font-size: 16px;
    font-weight: bold;
  }
  .phoneShowMenu{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100vh;
    z-index: 22;
    background-color: #ffffff;
    top: 10px;
    overflow: hidden;
    transition: width .4s ease-in-out 0s;
    &.show_menu{
      width: 100vw;
    }
    .icon-close{
      font-size: 18px;
      margin-left: 20px;
      cursor: pointer;
    }
    .product_phone_menu.el-menu{
      width: 100%;
      padding: 0 20px;

      .el-menu-item,
      .el-submenu__title{
        &:hover,
        &:focus{
          background-color: transparent;
        }
        border-bottom: 1px solid #F2F1F0;
        a{
          display: inline-block;
          width: 100%;
          height: 100%;
          text-decoration: none;
          color: #363434;
        }
      }
      .el-submenu{
        &.is-opened{
          .el-submenu__icon-arrow.el-icon-arrow-down{
            &::before{
              content: '\e8e4';
            }
          }
        }
      }
    
      .el-submenu__icon-arrow.el-icon-arrow-down{
        right: -20px;
        font-family: 'iconfont' !important;
        width: 54px;
        height: 54px;
        text-align: center;
        line-height: 54px;
        margin-top: -27px;
        z-index: 10;
        font-size: 18px;
        color: #363434;
        &::before{
          content: '\e8e5';
        }
      
      }
      >.el-submenu{
        >.el-submenu__title{
          padding-left: 0 !important;

        }
        .el-menu{
          .el-menu-item{
            padding-left: 16px !important;
  
          }
        }
      }

    }


  }
}

.rampow_content  .main .minwidth.productList{
  @include respond('768'){
    max-width: 100%;
    padding: 0;

    .productListShow{
      padding: 0 20px;
      width: 100%;
      position: relative;
      left: 0;
      .header{
        display: none;
      }
    }
    .menuShow{
      display: none;
    }
    .productListShow{
      margin-left: 0;
      margin-top: $menuHeight + 44px + 20px;
      .header{
        padding: 16px 0 8px 0;
      }

    }
    .productContent{
      margin-bottom: 8px;
    }
    .productItem{
      width: 100%;
      float: none;
      margin-right: 0;
      margin-bottom: 32px;
      padding-bottom: 0px;
      .title{
        height: auto;
        margin-top: 12px;
      }

    }

    .productListShow> .header .commentSelect{
      display: none;
    }
    .phoneShow{
      display: block;
      position: fixed;
      top: $menuPhoneHeight;
      width: 100%;
      z-index: 20;
      >div.header{
        position: relative;
        padding: 0 20px;
        background-color: #ffffff;
        height: 44px;
        .list_menu{
          display: flex;
          align-items: center;
          justify-content: flex-start;
          i.icon-Filter{
            font-size: 18px;
            width: 18px;
            height: 18px;
          }
          >p{
    
            margin-left: 12px;
            color: #363434;
            font-size: 14px;
          }
        }
        .commentSelect .el-select{

          .popper__arrow{
            display: none;
          }
          .el-select-dropdown.el-popper{
            left: 0!important;
            top: 88px !important;
            width: 100%;
            border: none;
            margin: 0;
            box-shadow: none;
            padding: 0 20px;
            box-shadow: 0 4px 8px rgba(54, 52, 52, 0.08);
            .el-select-dropdown__list{
              padding: 0;
              li{
                height: 56px;
                line-height: 56px;
                border-bottom: 1px solid #F2F1F0;
                padding: 0;
                &:last-of-type{
                  border-bottom: none;
                }
                &.selected {
                  background-color: #ffffff;

                }
              }
            }
     

          }
          .el-input {
            .el-select__caret{
              font-size: 16px;
              color: #363434;
            }
            .el-input__suffix{
              right: 0;
            }
            .el-input__inner{
              background-color: #ffffff;
            }
          }
        } 
      }
    }
  }
}

